using com.byt.suce.db.dao;
using System;
using System.Data;
using System.Data.Common;
using com.byt.webcore;
using System.Collections.Generic;
using MYLSOFT.JsonSimple;
using System.Data.OracleClient;

namespace com.byt.suce.db.mapper {

    public class PkgGestorServicio : AbstractDataAccessObject , IPkgGestorServicio {

        public PkgGestorServicio() {
        }

        public PkgGestorServicio.MosAprobarAmpliacionParam mosAprobarAmpliacion(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.MosAprobarAmpliacionParam param = newMosAprobarAmpliacionParam(map);
            mosAprobarAmpliacion(conn, param);
            return param;
        }

        public PkgGestorServicio.MosAprobarAmpliacionParam mosAprobarAmpliacion(Connection conn, JSONObject json) {
            PkgGestorServicio.MosAprobarAmpliacionParam param = newMosAprobarAmpliacionParam(json);
            mosAprobarAmpliacion(conn, param);
            return param;
        }

        public void mosAprobarAmpliacion(Connection conn, PkgGestorServicio.MosAprobarAmpliacionParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.MOS_APROBAR_AMPLIACION";
            DbParameter par = null;
            // IDNOTIFICACION
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDNOTIFICACION";
            par.Direction = ParameterDirection.Output;
            ((OracleParameter)par).OracleType = OracleType.Number;
            // NUMMOS
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMMOS";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Nummos))
                par.Value = DBNull.Value;
            else
                par.Value = param.Nummos;
            // NUMSUCE
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMSUCE";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Numsuce))
                par.Value = DBNull.Value;
            else
                par.Value = param.Numsuce;
            cmd.ExecuteNonQuery();
            param.Idnotificacion = (decimal?)cmd.Parameters["IDNOTIFICACION"].Value;
        }

        public PkgGestorServicio.MosRechazarParam mosRechazar(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.MosRechazarParam param = newMosRechazarParam(map);
            mosRechazar(conn, param);
            return param;
        }

        public PkgGestorServicio.MosRechazarParam mosRechazar(Connection conn, JSONObject json) {
            PkgGestorServicio.MosRechazarParam param = newMosRechazarParam(json);
            mosRechazar(conn, param);
            return param;
        }

        public void mosRechazar(Connection conn, PkgGestorServicio.MosRechazarParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.MOS_RECHAZAR";
            DbParameter par = null;
            // IDNOTIFICACION
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDNOTIFICACION";
            par.Direction = ParameterDirection.Output;
            ((OracleParameter)par).OracleType = OracleType.Number;
            // NUMMOS
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMMOS";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Nummos))
                par.Value = DBNull.Value;
            else
                par.Value = param.Nummos;
            // NUMSUCE
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMSUCE";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Numsuce))
                par.Value = DBNull.Value;
            else
                par.Value = param.Numsuce;
            // TEXTO
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "TEXTO";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Texto))
                par.Value = DBNull.Value;
            else
                par.Value = param.Texto;
            cmd.ExecuteNonQuery();
            param.Idnotificacion = (decimal?)cmd.Parameters["IDNOTIFICACION"].Value;
        }

        public PkgGestorServicio.MtoRechazarParam mtoRechazar(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.MtoRechazarParam param = newMtoRechazarParam(map);
            mtoRechazar(conn, param);
            return param;
        }

        public PkgGestorServicio.MtoRechazarParam mtoRechazar(Connection conn, JSONObject json) {
            PkgGestorServicio.MtoRechazarParam param = newMtoRechazarParam(json);
            mtoRechazar(conn, param);
            return param;
        }

        public void mtoRechazar(Connection conn, PkgGestorServicio.MtoRechazarParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.MTO_RECHAZAR";
            DbParameter par = null;
            // IDNOTIFICACION
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDNOTIFICACION";
            par.Direction = ParameterDirection.Output;
            ((OracleParameter)par).OracleType = OracleType.Number;
            // NUMEROMTO
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMEROMTO";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Numeromto))
                par.Value = DBNull.Value;
            else
                par.Value = param.Numeromto;
            // NUMEROORDEN
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMEROORDEN";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Numeroorden))
                par.Value = DBNull.Value;
            else
                par.Value = param.Numeroorden;
            // TEXTO
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "TEXTO";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Texto))
                par.Value = DBNull.Value;
            else
                par.Value = param.Texto;
            cmd.ExecuteNonQuery();
            param.Idnotificacion = (decimal?)cmd.Parameters["IDNOTIFICACION"].Value;
        }

        public PkgGestorServicio.OrdenAceptarParam ordenAceptar(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.OrdenAceptarParam param = newOrdenAceptarParam(map);
            ordenAceptar(conn, param);
            return param;
        }

        public PkgGestorServicio.OrdenAceptarParam ordenAceptar(Connection conn, JSONObject json) {
            PkgGestorServicio.OrdenAceptarParam param = newOrdenAceptarParam(json);
            ordenAceptar(conn, param);
            return param;
        }

        public void ordenAceptar(Connection conn, PkgGestorServicio.OrdenAceptarParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.ORDEN_ACEPTAR";
            DbParameter par = null;
            // IDNOTIFICACION
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDNOTIFICACION";
            par.Direction = ParameterDirection.Output;
            ((OracleParameter)par).OracleType = OracleType.Number;
            // DOCNUMERO
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "DOCNUMERO";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Docnumero))
                par.Value = DBNull.Value;
            else
                par.Value = param.Docnumero;
            // CODFORMATO
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "CODFORMATO";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Codformato))
                par.Value = DBNull.Value;
            else
                par.Value = param.Codformato;
            // TASA
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "TASA";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.Number;
            if (param.Tasa == null)
                par.Value = DBNull.Value;
            else
                par.Value = param.Tasa;
            cmd.ExecuteNonQuery();
            param.Idnotificacion = (decimal?)cmd.Parameters["IDNOTIFICACION"].Value;
        }

        public PkgGestorServicio.OrdenDesactivarParam ordenDesactivar(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.OrdenDesactivarParam param = newOrdenDesactivarParam(map);
            ordenDesactivar(conn, param);
            return param;
        }

        public PkgGestorServicio.OrdenDesactivarParam ordenDesactivar(Connection conn, JSONObject json) {
            PkgGestorServicio.OrdenDesactivarParam param = newOrdenDesactivarParam(json);
            ordenDesactivar(conn, param);
            return param;
        }

        public void ordenDesactivar(Connection conn, PkgGestorServicio.OrdenDesactivarParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.ORDEN_DESACTIVAR";
            DbParameter par = null;
            // DOCNUMERO
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "DOCNUMERO";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Docnumero))
                par.Value = DBNull.Value;
            else
                par.Value = param.Docnumero;
            cmd.ExecuteNonQuery();
        }

        public PkgGestorServicio.OrdenSubsanarParam ordenSubsanar(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.OrdenSubsanarParam param = newOrdenSubsanarParam(map);
            ordenSubsanar(conn, param);
            return param;
        }

        public PkgGestorServicio.OrdenSubsanarParam ordenSubsanar(Connection conn, JSONObject json) {
            PkgGestorServicio.OrdenSubsanarParam param = newOrdenSubsanarParam(json);
            ordenSubsanar(conn, param);
            return param;
        }

        public void ordenSubsanar(Connection conn, PkgGestorServicio.OrdenSubsanarParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.ORDEN_SUBSANAR";
            DbParameter par = null;
            // IDNOTIFICACION
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDNOTIFICACION";
            par.Direction = ParameterDirection.Output;
            ((OracleParameter)par).OracleType = OracleType.Number;
            // NUMDOCUMENTO
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMDOCUMENTO";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Numdocumento))
                par.Value = DBNull.Value;
            else
                par.Value = param.Numdocumento;
            // TEXTO
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "TEXTO";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Texto))
                par.Value = DBNull.Value;
            else
                par.Value = param.Texto;
            // IDSUBSANACION
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDSUBSANACION";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Idsubsanacion))
                par.Value = DBNull.Value;
            else
                par.Value = param.Idsubsanacion;
            cmd.ExecuteNonQuery();
            param.Idnotificacion = (decimal?)cmd.Parameters["IDNOTIFICACION"].Value;
        }

        public PkgGestorServicio.PendienteGetlistParam pendienteGetlist(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.PendienteGetlistParam param = newPendienteGetlistParam(map);
            pendienteGetlist(conn, param);
            return param;
        }

        public PkgGestorServicio.PendienteGetlistParam pendienteGetlist(Connection conn, JSONObject json) {
            PkgGestorServicio.PendienteGetlistParam param = newPendienteGetlistParam(json);
            pendienteGetlist(conn, param);
            return param;
        }

        public void pendienteGetlist(Connection conn, PkgGestorServicio.PendienteGetlistParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.PENDIENTE_GETLIST";
            DbParameter par = null;
            // CUR_OUT
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "CUR_OUT";
            par.Direction = ParameterDirection.Output;
            ((OracleParameter)par).OracleType = OracleType.Cursor;
            cmd.ExecuteNonQuery();
            param.CurOut = (DbDataReader)cmd.Parameters["CUR_OUT"].Value;
        }

        public PkgGestorServicio.PendienteMarcarTransferidoParam pendienteMarcarTransferido(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.PendienteMarcarTransferidoParam param = newPendienteMarcarTransferidoParam(map);
            pendienteMarcarTransferido(conn, param);
            return param;
        }

        public PkgGestorServicio.PendienteMarcarTransferidoParam pendienteMarcarTransferido(Connection conn, JSONObject json) {
            PkgGestorServicio.PendienteMarcarTransferidoParam param = newPendienteMarcarTransferidoParam(json);
            pendienteMarcarTransferido(conn, param);
            return param;
        }

        public void pendienteMarcarTransferido(Connection conn, PkgGestorServicio.PendienteMarcarTransferidoParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.PENDIENTE_MARCAR_TRANSFERIDO";
            DbParameter par = null;
            // IDDOCS
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDDOCS";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Iddocs))
                par.Value = DBNull.Value;
            else
                par.Value = param.Iddocs;
            cmd.ExecuteNonQuery();
        }

        public PkgGestorServicio.ReenviarNotificacionParam reenviarNotificacion(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.ReenviarNotificacionParam param = newReenviarNotificacionParam(map);
            reenviarNotificacion(conn, param);
            return param;
        }

        public PkgGestorServicio.ReenviarNotificacionParam reenviarNotificacion(Connection conn, JSONObject json) {
            PkgGestorServicio.ReenviarNotificacionParam param = newReenviarNotificacionParam(json);
            reenviarNotificacion(conn, param);
            return param;
        }

        public void reenviarNotificacion(Connection conn, PkgGestorServicio.ReenviarNotificacionParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.REENVIAR_NOTIFICACION";
            DbParameter par = null;
            // IDNOTIFICACION
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDNOTIFICACION";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.Number;
            if (param.Idnotificacion == null)
                par.Value = DBNull.Value;
            else
                par.Value = param.Idnotificacion;
            cmd.ExecuteNonQuery();
        }

        public PkgGestorServicio.SuceAceptadesistirParam suceAceptadesistir(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.SuceAceptadesistirParam param = newSuceAceptadesistirParam(map);
            suceAceptadesistir(conn, param);
            return param;
        }

        public PkgGestorServicio.SuceAceptadesistirParam suceAceptadesistir(Connection conn, JSONObject json) {
            PkgGestorServicio.SuceAceptadesistirParam param = newSuceAceptadesistirParam(json);
            suceAceptadesistir(conn, param);
            return param;
        }

        public void suceAceptadesistir(Connection conn, PkgGestorServicio.SuceAceptadesistirParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.SUCE_ACEPTADESISTIR";
            DbParameter par = null;
            // IDNOTIFICACION
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDNOTIFICACION";
            par.Direction = ParameterDirection.Output;
            ((OracleParameter)par).OracleType = OracleType.Number;
            // NUMSUCE
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMSUCE";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Numsuce))
                par.Value = DBNull.Value;
            else
                par.Value = param.Numsuce;
            cmd.ExecuteNonQuery();
            param.Idnotificacion = (decimal?)cmd.Parameters["IDNOTIFICACION"].Value;
        }

        public PkgGestorServicio.SuceAprobarParam suceAprobar(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.SuceAprobarParam param = newSuceAprobarParam(map);
            suceAprobar(conn, param);
            return param;
        }

        public PkgGestorServicio.SuceAprobarParam suceAprobar(Connection conn, JSONObject json) {
            PkgGestorServicio.SuceAprobarParam param = newSuceAprobarParam(json);
            suceAprobar(conn, param);
            return param;
        }

        public void suceAprobar(Connection conn, PkgGestorServicio.SuceAprobarParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.SUCE_APROBAR";
            DbParameter par = null;
            // IDNOTIFICACION
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDNOTIFICACION";
            par.Direction = ParameterDirection.Output;
            ((OracleParameter)par).OracleType = OracleType.Number;
            // NUMSUCE
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMSUCE";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Numsuce))
                par.Value = DBNull.Value;
            else
                par.Value = param.Numsuce;
            // NUMDR
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMDR";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Numdr))
                par.Value = DBNull.Value;
            else
                par.Value = param.Numdr;
            cmd.ExecuteNonQuery();
            param.Idnotificacion = (decimal?)cmd.Parameters["IDNOTIFICACION"].Value;
        }

        public PkgGestorServicio.SuceAsignarEvaluadorParam suceAsignarEvaluador(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.SuceAsignarEvaluadorParam param = newSuceAsignarEvaluadorParam(map);
            suceAsignarEvaluador(conn, param);
            return param;
        }

        public PkgGestorServicio.SuceAsignarEvaluadorParam suceAsignarEvaluador(Connection conn, JSONObject json) {
            PkgGestorServicio.SuceAsignarEvaluadorParam param = newSuceAsignarEvaluadorParam(json);
            suceAsignarEvaluador(conn, param);
            return param;
        }

        public void suceAsignarEvaluador(Connection conn, PkgGestorServicio.SuceAsignarEvaluadorParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.SUCE_ASIGNAR_EVALUADOR";
            DbParameter par = null;
            // IDNOTIFICACION
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDNOTIFICACION";
            par.Direction = ParameterDirection.Output;
            ((OracleParameter)par).OracleType = OracleType.Number;
            // DOCNUMERO
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "DOCNUMERO";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Docnumero))
                par.Value = DBNull.Value;
            else
                par.Value = param.Docnumero;
            // USUARIO
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "USUARIO";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Usuario))
                par.Value = DBNull.Value;
            else
                par.Value = param.Usuario;
            cmd.ExecuteNonQuery();
            param.Idnotificacion = (decimal?)cmd.Parameters["IDNOTIFICACION"].Value;
        }

        public PkgGestorServicio.SuceCerrarParam suceCerrar(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.SuceCerrarParam param = newSuceCerrarParam(map);
            suceCerrar(conn, param);
            return param;
        }

        public PkgGestorServicio.SuceCerrarParam suceCerrar(Connection conn, JSONObject json) {
            PkgGestorServicio.SuceCerrarParam param = newSuceCerrarParam(json);
            suceCerrar(conn, param);
            return param;
        }

        public void suceCerrar(Connection conn, PkgGestorServicio.SuceCerrarParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.SUCE_CERRAR";
            DbParameter par = null;
            // IDNOTIFICACION
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDNOTIFICACION";
            par.Direction = ParameterDirection.Output;
            ((OracleParameter)par).OracleType = OracleType.Number;
            // NUMSUCE
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMSUCE";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Numsuce))
                par.Value = DBNull.Value;
            else
                par.Value = param.Numsuce;
            // NUMDR
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMDR";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Numdr))
                par.Value = DBNull.Value;
            else
                par.Value = param.Numdr;
            cmd.ExecuteNonQuery();
            param.Idnotificacion = (decimal?)cmd.Parameters["IDNOTIFICACION"].Value;
        }

        public PkgGestorServicio.SuceDenegarParam suceDenegar(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.SuceDenegarParam param = newSuceDenegarParam(map);
            suceDenegar(conn, param);
            return param;
        }

        public PkgGestorServicio.SuceDenegarParam suceDenegar(Connection conn, JSONObject json) {
            PkgGestorServicio.SuceDenegarParam param = newSuceDenegarParam(json);
            suceDenegar(conn, param);
            return param;
        }

        public void suceDenegar(Connection conn, PkgGestorServicio.SuceDenegarParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.SUCE_DENEGAR";
            DbParameter par = null;
            // IDNOTIFICACION
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDNOTIFICACION";
            par.Direction = ParameterDirection.Output;
            ((OracleParameter)par).OracleType = OracleType.Number;
            // NUMSUCE
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMSUCE";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Numsuce))
                par.Value = DBNull.Value;
            else
                par.Value = param.Numsuce;
            // NUMDR
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMDR";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Numdr))
                par.Value = DBNull.Value;
            else
                par.Value = param.Numdr;
            // TEXTO
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "TEXTO";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Texto))
                par.Value = DBNull.Value;
            else
                par.Value = param.Texto;
            cmd.ExecuteNonQuery();
            param.Idnotificacion = (decimal?)cmd.Parameters["IDNOTIFICACION"].Value;
        }

        public PkgGestorServicio.SuceIniciarTramiteParam suceIniciarTramite(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.SuceIniciarTramiteParam param = newSuceIniciarTramiteParam(map);
            suceIniciarTramite(conn, param);
            return param;
        }

        public PkgGestorServicio.SuceIniciarTramiteParam suceIniciarTramite(Connection conn, JSONObject json) {
            PkgGestorServicio.SuceIniciarTramiteParam param = newSuceIniciarTramiteParam(json);
            suceIniciarTramite(conn, param);
            return param;
        }

        public void suceIniciarTramite(Connection conn, PkgGestorServicio.SuceIniciarTramiteParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.SUCE_INICIAR_TRAMITE";
            DbParameter par = null;
            // IDNOTIFICACION
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDNOTIFICACION";
            par.Direction = ParameterDirection.Output;
            ((OracleParameter)par).OracleType = OracleType.Number;
            // NUMEXPEDIENTE
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMEXPEDIENTE";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Numexpediente))
                par.Value = DBNull.Value;
            else
                par.Value = param.Numexpediente;
            // DOCNUMERO
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "DOCNUMERO";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Docnumero))
                par.Value = DBNull.Value;
            else
                par.Value = param.Docnumero;
            cmd.ExecuteNonQuery();
            param.Idnotificacion = (decimal?)cmd.Parameters["IDNOTIFICACION"].Value;
        }

        public PkgGestorServicio.SuceMosAprobarParam suceMosAprobar(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.SuceMosAprobarParam param = newSuceMosAprobarParam(map);
            suceMosAprobar(conn, param);
            return param;
        }

        public PkgGestorServicio.SuceMosAprobarParam suceMosAprobar(Connection conn, JSONObject json) {
            PkgGestorServicio.SuceMosAprobarParam param = newSuceMosAprobarParam(json);
            suceMosAprobar(conn, param);
            return param;
        }

        public void suceMosAprobar(Connection conn, PkgGestorServicio.SuceMosAprobarParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.SUCE_MOS_APROBAR";
            DbParameter par = null;
            // IDNOTIFICACION
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDNOTIFICACION";
            par.Direction = ParameterDirection.Output;
            ((OracleParameter)par).OracleType = OracleType.Number;
            // NUMMOS
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMMOS";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Nummos))
                par.Value = DBNull.Value;
            else
                par.Value = param.Nummos;
            // NUMSUCE
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMSUCE";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Numsuce))
                par.Value = DBNull.Value;
            else
                par.Value = param.Numsuce;
            // TASA
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "TASA";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.Number;
            if (param.Tasa == null)
                par.Value = DBNull.Value;
            else
                par.Value = param.Tasa;
            cmd.ExecuteNonQuery();
            param.Idnotificacion = (decimal?)cmd.Parameters["IDNOTIFICACION"].Value;
        }

        public PkgGestorServicio.SuceRechazadesistirParam suceRechazadesistir(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.SuceRechazadesistirParam param = newSuceRechazadesistirParam(map);
            suceRechazadesistir(conn, param);
            return param;
        }

        public PkgGestorServicio.SuceRechazadesistirParam suceRechazadesistir(Connection conn, JSONObject json) {
            PkgGestorServicio.SuceRechazadesistirParam param = newSuceRechazadesistirParam(json);
            suceRechazadesistir(conn, param);
            return param;
        }

        public void suceRechazadesistir(Connection conn, PkgGestorServicio.SuceRechazadesistirParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.SUCE_RECHAZADESISTIR";
            DbParameter par = null;
            // IDNOTIFICACION
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDNOTIFICACION";
            par.Direction = ParameterDirection.Output;
            ((OracleParameter)par).OracleType = OracleType.Number;
            // NUMSUCE
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMSUCE";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Numsuce))
                par.Value = DBNull.Value;
            else
                par.Value = param.Numsuce;
            cmd.ExecuteNonQuery();
            param.Idnotificacion = (decimal?)cmd.Parameters["IDNOTIFICACION"].Value;
        }

        public PkgGestorServicio.SuceRequerimientopagoParam suceRequerimientopago(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.SuceRequerimientopagoParam param = newSuceRequerimientopagoParam(map);
            suceRequerimientopago(conn, param);
            return param;
        }

        public PkgGestorServicio.SuceRequerimientopagoParam suceRequerimientopago(Connection conn, JSONObject json) {
            PkgGestorServicio.SuceRequerimientopagoParam param = newSuceRequerimientopagoParam(json);
            suceRequerimientopago(conn, param);
            return param;
        }

        public void suceRequerimientopago(Connection conn, PkgGestorServicio.SuceRequerimientopagoParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.SUCE_REQUERIMIENTOPAGO";
            DbParameter par = null;
            // IDNOTIFICACION
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDNOTIFICACION";
            par.Direction = ParameterDirection.Output;
            ((OracleParameter)par).OracleType = OracleType.Number;
            // NUMSUCE
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMSUCE";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Numsuce))
                par.Value = DBNull.Value;
            else
                par.Value = param.Numsuce;
            // TASA
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "TASA";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.Number;
            if (param.Tasa == null)
                par.Value = DBNull.Value;
            else
                par.Value = param.Tasa;
            cmd.ExecuteNonQuery();
            param.Idnotificacion = (decimal?)cmd.Parameters["IDNOTIFICACION"].Value;
        }

        public PkgGestorServicio.SuceSubsanarParam suceSubsanar(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.SuceSubsanarParam param = newSuceSubsanarParam(map);
            suceSubsanar(conn, param);
            return param;
        }

        public PkgGestorServicio.SuceSubsanarParam suceSubsanar(Connection conn, JSONObject json) {
            PkgGestorServicio.SuceSubsanarParam param = newSuceSubsanarParam(json);
            suceSubsanar(conn, param);
            return param;
        }

        public void suceSubsanar(Connection conn, PkgGestorServicio.SuceSubsanarParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.SUCE_SUBSANAR";
            DbParameter par = null;
            // IDNOTIFICACION
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDNOTIFICACION";
            par.Direction = ParameterDirection.Output;
            ((OracleParameter)par).OracleType = OracleType.Number;
            // NUMSUCE
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "NUMSUCE";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Numsuce))
                par.Value = DBNull.Value;
            else
                par.Value = param.Numsuce;
            // TEXTO
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "TEXTO";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Texto))
                par.Value = DBNull.Value;
            else
                par.Value = param.Texto;
            // TASA
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "TASA";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.Number;
            if (param.Tasa == null)
                par.Value = DBNull.Value;
            else
                par.Value = param.Tasa;
            // PLAZO
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "PLAZO";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.Number;
            if (param.Plazo == null)
                par.Value = DBNull.Value;
            else
                par.Value = param.Plazo;
            cmd.ExecuteNonQuery();
            param.Idnotificacion = (decimal?)cmd.Parameters["IDNOTIFICACION"].Value;
        }

        public PkgGestorServicio.TrazaEnviarParam trazaEnviar(Connection conn, Dictionary<string, string> map) {
            PkgGestorServicio.TrazaEnviarParam param = newTrazaEnviarParam(map);
            trazaEnviar(conn, param);
            return param;
        }

        public PkgGestorServicio.TrazaEnviarParam trazaEnviar(Connection conn, JSONObject json) {
            PkgGestorServicio.TrazaEnviarParam param = newTrazaEnviarParam(json);
            trazaEnviar(conn, param);
            return param;
        }

        public void trazaEnviar(Connection conn, PkgGestorServicio.TrazaEnviarParam param) {
            DbCommand cmd = conn.CreateCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "PKG_GESTOR_SERVICIO.TRAZA_ENVIAR";
            DbParameter par = null;
            // IDNOTIFICACION
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDNOTIFICACION";
            par.Direction = ParameterDirection.Output;
            ((OracleParameter)par).OracleType = OracleType.Number;
            // IDTRAZAGESTOR
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "IDTRAZAGESTOR";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Idtrazagestor))
                par.Value = DBNull.Value;
            else
                par.Value = param.Idtrazagestor;
            // DOCTIPO
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "DOCTIPO";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Doctipo))
                par.Value = DBNull.Value;
            else
                par.Value = param.Doctipo;
            // DOCNUM
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "DOCNUM";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Docnum))
                par.Value = DBNull.Value;
            else
                par.Value = param.Docnum;
            // AREA
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "AREA";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Area))
                par.Value = DBNull.Value;
            else
                par.Value = param.Area;
            // SUBAREA
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "SUBAREA";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Subarea))
                par.Value = DBNull.Value;
            else
                par.Value = param.Subarea;
            // RESPONSABLE
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "RESPONSABLE";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Responsable))
                par.Value = DBNull.Value;
            else
                par.Value = param.Responsable;
            // FECHAINGRESO
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "FECHAINGRESO";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.DateTime;
            if (param.Fechaingreso == null)
                par.Value = DBNull.Value;
            else
                par.Value = param.Fechaingreso;
            // FECHASALIDA
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "FECHASALIDA";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.DateTime;
            if (param.Fechasalida == null)
                par.Value = DBNull.Value;
            else
                par.Value = param.Fechasalida;
            // COMENTARIO
            par = cmd.CreateParameter();
            cmd.Parameters.Add(par);
            par.ParameterName = "COMENTARIO";
            par.Direction = ParameterDirection.Input;
            ((OracleParameter)par).OracleType = OracleType.VarChar;
            par.Size = 0;
            if (string.IsNullOrEmpty(param.Comentario))
                par.Value = DBNull.Value;
            else
                par.Value = param.Comentario;
            cmd.ExecuteNonQuery();
            param.Idnotificacion = (decimal?)cmd.Parameters["IDNOTIFICACION"].Value;
        }

        public PkgGestorServicio.MosAprobarAmpliacionParam newMosAprobarAmpliacionParam() {
            return new MosAprobarAmpliacionParam();
        }

        public PkgGestorServicio.MosAprobarAmpliacionParam newMosAprobarAmpliacionParam(Dictionary<string, string> map) {
            return new MosAprobarAmpliacionParam(map);
        }

        public PkgGestorServicio.MosAprobarAmpliacionParam newMosAprobarAmpliacionParam(JSONObject json) {
            return new MosAprobarAmpliacionParam(json);
        }

        public PkgGestorServicio.MosRechazarParam newMosRechazarParam() {
            return new MosRechazarParam();
        }

        public PkgGestorServicio.MosRechazarParam newMosRechazarParam(Dictionary<string, string> map) {
            return new MosRechazarParam(map);
        }

        public PkgGestorServicio.MosRechazarParam newMosRechazarParam(JSONObject json) {
            return new MosRechazarParam(json);
        }

        public PkgGestorServicio.MtoRechazarParam newMtoRechazarParam() {
            return new MtoRechazarParam();
        }

        public PkgGestorServicio.MtoRechazarParam newMtoRechazarParam(Dictionary<string, string> map) {
            return new MtoRechazarParam(map);
        }

        public PkgGestorServicio.MtoRechazarParam newMtoRechazarParam(JSONObject json) {
            return new MtoRechazarParam(json);
        }

        public PkgGestorServicio.OrdenAceptarParam newOrdenAceptarParam() {
            return new OrdenAceptarParam();
        }

        public PkgGestorServicio.OrdenAceptarParam newOrdenAceptarParam(Dictionary<string, string> map) {
            return new OrdenAceptarParam(map);
        }

        public PkgGestorServicio.OrdenAceptarParam newOrdenAceptarParam(JSONObject json) {
            return new OrdenAceptarParam(json);
        }

        public PkgGestorServicio.OrdenDesactivarParam newOrdenDesactivarParam() {
            return new OrdenDesactivarParam();
        }

        public PkgGestorServicio.OrdenDesactivarParam newOrdenDesactivarParam(Dictionary<string, string> map) {
            return new OrdenDesactivarParam(map);
        }

        public PkgGestorServicio.OrdenDesactivarParam newOrdenDesactivarParam(JSONObject json) {
            return new OrdenDesactivarParam(json);
        }

        public PkgGestorServicio.OrdenSubsanarParam newOrdenSubsanarParam() {
            return new OrdenSubsanarParam();
        }

        public PkgGestorServicio.OrdenSubsanarParam newOrdenSubsanarParam(Dictionary<string, string> map) {
            return new OrdenSubsanarParam(map);
        }

        public PkgGestorServicio.OrdenSubsanarParam newOrdenSubsanarParam(JSONObject json) {
            return new OrdenSubsanarParam(json);
        }

        public PkgGestorServicio.PendienteGetlistParam newPendienteGetlistParam() {
            return new PendienteGetlistParam();
        }

        public PkgGestorServicio.PendienteGetlistParam newPendienteGetlistParam(Dictionary<string, string> map) {
            return new PendienteGetlistParam(map);
        }

        public PkgGestorServicio.PendienteGetlistParam newPendienteGetlistParam(JSONObject json) {
            return new PendienteGetlistParam(json);
        }

        public PkgGestorServicio.PendienteMarcarTransferidoParam newPendienteMarcarTransferidoParam() {
            return new PendienteMarcarTransferidoParam();
        }

        public PkgGestorServicio.PendienteMarcarTransferidoParam newPendienteMarcarTransferidoParam(Dictionary<string, string> map) {
            return new PendienteMarcarTransferidoParam(map);
        }

        public PkgGestorServicio.PendienteMarcarTransferidoParam newPendienteMarcarTransferidoParam(JSONObject json) {
            return new PendienteMarcarTransferidoParam(json);
        }

        public PkgGestorServicio.ReenviarNotificacionParam newReenviarNotificacionParam() {
            return new ReenviarNotificacionParam();
        }

        public PkgGestorServicio.ReenviarNotificacionParam newReenviarNotificacionParam(Dictionary<string, string> map) {
            return new ReenviarNotificacionParam(map);
        }

        public PkgGestorServicio.ReenviarNotificacionParam newReenviarNotificacionParam(JSONObject json) {
            return new ReenviarNotificacionParam(json);
        }

        public PkgGestorServicio.SuceAceptadesistirParam newSuceAceptadesistirParam() {
            return new SuceAceptadesistirParam();
        }

        public PkgGestorServicio.SuceAceptadesistirParam newSuceAceptadesistirParam(Dictionary<string, string> map) {
            return new SuceAceptadesistirParam(map);
        }

        public PkgGestorServicio.SuceAceptadesistirParam newSuceAceptadesistirParam(JSONObject json) {
            return new SuceAceptadesistirParam(json);
        }

        public PkgGestorServicio.SuceAprobarParam newSuceAprobarParam() {
            return new SuceAprobarParam();
        }

        public PkgGestorServicio.SuceAprobarParam newSuceAprobarParam(Dictionary<string, string> map) {
            return new SuceAprobarParam(map);
        }

        public PkgGestorServicio.SuceAprobarParam newSuceAprobarParam(JSONObject json) {
            return new SuceAprobarParam(json);
        }

        public PkgGestorServicio.SuceAsignarEvaluadorParam newSuceAsignarEvaluadorParam() {
            return new SuceAsignarEvaluadorParam();
        }

        public PkgGestorServicio.SuceAsignarEvaluadorParam newSuceAsignarEvaluadorParam(Dictionary<string, string> map) {
            return new SuceAsignarEvaluadorParam(map);
        }

        public PkgGestorServicio.SuceAsignarEvaluadorParam newSuceAsignarEvaluadorParam(JSONObject json) {
            return new SuceAsignarEvaluadorParam(json);
        }

        public PkgGestorServicio.SuceCerrarParam newSuceCerrarParam() {
            return new SuceCerrarParam();
        }

        public PkgGestorServicio.SuceCerrarParam newSuceCerrarParam(Dictionary<string, string> map) {
            return new SuceCerrarParam(map);
        }

        public PkgGestorServicio.SuceCerrarParam newSuceCerrarParam(JSONObject json) {
            return new SuceCerrarParam(json);
        }

        public PkgGestorServicio.SuceDenegarParam newSuceDenegarParam() {
            return new SuceDenegarParam();
        }

        public PkgGestorServicio.SuceDenegarParam newSuceDenegarParam(Dictionary<string, string> map) {
            return new SuceDenegarParam(map);
        }

        public PkgGestorServicio.SuceDenegarParam newSuceDenegarParam(JSONObject json) {
            return new SuceDenegarParam(json);
        }

        public PkgGestorServicio.SuceIniciarTramiteParam newSuceIniciarTramiteParam() {
            return new SuceIniciarTramiteParam();
        }

        public PkgGestorServicio.SuceIniciarTramiteParam newSuceIniciarTramiteParam(Dictionary<string, string> map) {
            return new SuceIniciarTramiteParam(map);
        }

        public PkgGestorServicio.SuceIniciarTramiteParam newSuceIniciarTramiteParam(JSONObject json) {
            return new SuceIniciarTramiteParam(json);
        }

        public PkgGestorServicio.SuceMosAprobarParam newSuceMosAprobarParam() {
            return new SuceMosAprobarParam();
        }

        public PkgGestorServicio.SuceMosAprobarParam newSuceMosAprobarParam(Dictionary<string, string> map) {
            return new SuceMosAprobarParam(map);
        }

        public PkgGestorServicio.SuceMosAprobarParam newSuceMosAprobarParam(JSONObject json) {
            return new SuceMosAprobarParam(json);
        }

        public PkgGestorServicio.SuceRechazadesistirParam newSuceRechazadesistirParam() {
            return new SuceRechazadesistirParam();
        }

        public PkgGestorServicio.SuceRechazadesistirParam newSuceRechazadesistirParam(Dictionary<string, string> map) {
            return new SuceRechazadesistirParam(map);
        }

        public PkgGestorServicio.SuceRechazadesistirParam newSuceRechazadesistirParam(JSONObject json) {
            return new SuceRechazadesistirParam(json);
        }

        public PkgGestorServicio.SuceRequerimientopagoParam newSuceRequerimientopagoParam() {
            return new SuceRequerimientopagoParam();
        }

        public PkgGestorServicio.SuceRequerimientopagoParam newSuceRequerimientopagoParam(Dictionary<string, string> map) {
            return new SuceRequerimientopagoParam(map);
        }

        public PkgGestorServicio.SuceRequerimientopagoParam newSuceRequerimientopagoParam(JSONObject json) {
            return new SuceRequerimientopagoParam(json);
        }

        public PkgGestorServicio.SuceSubsanarParam newSuceSubsanarParam() {
            return new SuceSubsanarParam();
        }

        public PkgGestorServicio.SuceSubsanarParam newSuceSubsanarParam(Dictionary<string, string> map) {
            return new SuceSubsanarParam(map);
        }

        public PkgGestorServicio.SuceSubsanarParam newSuceSubsanarParam(JSONObject json) {
            return new SuceSubsanarParam(json);
        }

        public PkgGestorServicio.TrazaEnviarParam newTrazaEnviarParam() {
            return new TrazaEnviarParam();
        }

        public PkgGestorServicio.TrazaEnviarParam newTrazaEnviarParam(Dictionary<string, string> map) {
            return new TrazaEnviarParam(map);
        }

        public PkgGestorServicio.TrazaEnviarParam newTrazaEnviarParam(JSONObject json) {
            return new TrazaEnviarParam(json);
        }

        public class MosAprobarAmpliacionParam {

            private decimal? idnotificacion;
            private string nummos;
            private string numsuce;

            public MosAprobarAmpliacionParam() {
            }

            public MosAprobarAmpliacionParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public MosAprobarAmpliacionParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public decimal? Idnotificacion {
                get { return idnotificacion; }
                set { this.idnotificacion = value; }
            }

            public string Nummos {
                get { return nummos; }
                set { this.nummos = value; }
            }

            public string Numsuce {
                get { return numsuce; }
                set { this.numsuce = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

        public class MosRechazarParam {

            private decimal? idnotificacion;
            private string nummos;
            private string numsuce;
            private string texto;

            public MosRechazarParam() {
            }

            public MosRechazarParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public MosRechazarParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public decimal? Idnotificacion {
                get { return idnotificacion; }
                set { this.idnotificacion = value; }
            }

            public string Nummos {
                get { return nummos; }
                set { this.nummos = value; }
            }

            public string Numsuce {
                get { return numsuce; }
                set { this.numsuce = value; }
            }

            public string Texto {
                get { return texto; }
                set { this.texto = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

        public class MtoRechazarParam {

            private decimal? idnotificacion;
            private string numeromto;
            private string numeroorden;
            private string texto;

            public MtoRechazarParam() {
            }

            public MtoRechazarParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public MtoRechazarParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public decimal? Idnotificacion {
                get { return idnotificacion; }
                set { this.idnotificacion = value; }
            }

            public string Numeromto {
                get { return numeromto; }
                set { this.numeromto = value; }
            }

            public string Numeroorden {
                get { return numeroorden; }
                set { this.numeroorden = value; }
            }

            public string Texto {
                get { return texto; }
                set { this.texto = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

        public class OrdenAceptarParam {

            private decimal? idnotificacion;
            private string docnumero;
            private string codformato;
            private double? tasa;

            public OrdenAceptarParam() {
            }

            public OrdenAceptarParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public OrdenAceptarParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public decimal? Idnotificacion {
                get { return idnotificacion; }
                set { this.idnotificacion = value; }
            }

            public string Docnumero {
                get { return docnumero; }
                set { this.docnumero = value; }
            }

            public string Codformato {
                get { return codformato; }
                set { this.codformato = value; }
            }

            public double? Tasa {
                get { return tasa; }
                set { this.tasa = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

        public class OrdenDesactivarParam {

            private string docnumero;

            public OrdenDesactivarParam() {
            }

            public OrdenDesactivarParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public OrdenDesactivarParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public string Docnumero {
                get { return docnumero; }
                set { this.docnumero = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

        public class OrdenSubsanarParam {

            private decimal? idnotificacion;
            private string numdocumento;
            private string texto;
            private string idsubsanacion;

            public OrdenSubsanarParam() {
            }

            public OrdenSubsanarParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public OrdenSubsanarParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public decimal? Idnotificacion {
                get { return idnotificacion; }
                set { this.idnotificacion = value; }
            }

            public string Numdocumento {
                get { return numdocumento; }
                set { this.numdocumento = value; }
            }

            public string Texto {
                get { return texto; }
                set { this.texto = value; }
            }

            public string Idsubsanacion {
                get { return idsubsanacion; }
                set { this.idsubsanacion = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

        public class PendienteGetlistParam {

            private DbDataReader curOut;

            public PendienteGetlistParam() {
            }

            public PendienteGetlistParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public PendienteGetlistParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public DbDataReader CurOut {
                get { return curOut; }
                set { this.curOut = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

        public class PendienteMarcarTransferidoParam {

            private string iddocs;

            public PendienteMarcarTransferidoParam() {
            }

            public PendienteMarcarTransferidoParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public PendienteMarcarTransferidoParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public string Iddocs {
                get { return iddocs; }
                set { this.iddocs = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

        public class ReenviarNotificacionParam {

            private decimal? idnotificacion;

            public ReenviarNotificacionParam() {
            }

            public ReenviarNotificacionParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public ReenviarNotificacionParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public decimal? Idnotificacion {
                get { return idnotificacion; }
                set { this.idnotificacion = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

        public class SuceAceptadesistirParam {

            private decimal? idnotificacion;
            private string numsuce;

            public SuceAceptadesistirParam() {
            }

            public SuceAceptadesistirParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public SuceAceptadesistirParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public decimal? Idnotificacion {
                get { return idnotificacion; }
                set { this.idnotificacion = value; }
            }

            public string Numsuce {
                get { return numsuce; }
                set { this.numsuce = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

        public class SuceAprobarParam {

            private decimal? idnotificacion;
            private string numsuce;
            private string numdr;

            public SuceAprobarParam() {
            }

            public SuceAprobarParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public SuceAprobarParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public decimal? Idnotificacion {
                get { return idnotificacion; }
                set { this.idnotificacion = value; }
            }

            public string Numsuce {
                get { return numsuce; }
                set { this.numsuce = value; }
            }

            public string Numdr {
                get { return numdr; }
                set { this.numdr = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

        public class SuceAsignarEvaluadorParam {

            private decimal? idnotificacion;
            private string docnumero;
            private string usuario;

            public SuceAsignarEvaluadorParam() {
            }

            public SuceAsignarEvaluadorParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public SuceAsignarEvaluadorParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public decimal? Idnotificacion {
                get { return idnotificacion; }
                set { this.idnotificacion = value; }
            }

            public string Docnumero {
                get { return docnumero; }
                set { this.docnumero = value; }
            }

            public string Usuario {
                get { return usuario; }
                set { this.usuario = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

        public class SuceCerrarParam {

            private decimal? idnotificacion;
            private string numsuce;
            private string numdr;

            public SuceCerrarParam() {
            }

            public SuceCerrarParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public SuceCerrarParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public decimal? Idnotificacion {
                get { return idnotificacion; }
                set { this.idnotificacion = value; }
            }

            public string Numsuce {
                get { return numsuce; }
                set { this.numsuce = value; }
            }

            public string Numdr {
                get { return numdr; }
                set { this.numdr = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

        public class SuceDenegarParam {

            private decimal? idnotificacion;
            private string numsuce;
            private string numdr;
            private string texto;

            public SuceDenegarParam() {
            }

            public SuceDenegarParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public SuceDenegarParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public decimal? Idnotificacion {
                get { return idnotificacion; }
                set { this.idnotificacion = value; }
            }

            public string Numsuce {
                get { return numsuce; }
                set { this.numsuce = value; }
            }

            public string Numdr {
                get { return numdr; }
                set { this.numdr = value; }
            }

            public string Texto {
                get { return texto; }
                set { this.texto = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

        public class SuceIniciarTramiteParam {

            private decimal? idnotificacion;
            private string numexpediente;
            private string docnumero;

            public SuceIniciarTramiteParam() {
            }

            public SuceIniciarTramiteParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public SuceIniciarTramiteParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public decimal? Idnotificacion {
                get { return idnotificacion; }
                set { this.idnotificacion = value; }
            }

            public string Numexpediente {
                get { return numexpediente; }
                set { this.numexpediente = value; }
            }

            public string Docnumero {
                get { return docnumero; }
                set { this.docnumero = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

        public class SuceMosAprobarParam {

            private decimal? idnotificacion;
            private string nummos;
            private string numsuce;
            private double? tasa;

            public SuceMosAprobarParam() {
            }

            public SuceMosAprobarParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public SuceMosAprobarParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public decimal? Idnotificacion {
                get { return idnotificacion; }
                set { this.idnotificacion = value; }
            }

            public string Nummos {
                get { return nummos; }
                set { this.nummos = value; }
            }

            public string Numsuce {
                get { return numsuce; }
                set { this.numsuce = value; }
            }

            public double? Tasa {
                get { return tasa; }
                set { this.tasa = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

        public class SuceRechazadesistirParam {

            private decimal? idnotificacion;
            private string numsuce;

            public SuceRechazadesistirParam() {
            }

            public SuceRechazadesistirParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public SuceRechazadesistirParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public decimal? Idnotificacion {
                get { return idnotificacion; }
                set { this.idnotificacion = value; }
            }

            public string Numsuce {
                get { return numsuce; }
                set { this.numsuce = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

        public class SuceRequerimientopagoParam {

            private decimal? idnotificacion;
            private string numsuce;
            private double? tasa;

            public SuceRequerimientopagoParam() {
            }

            public SuceRequerimientopagoParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public SuceRequerimientopagoParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public decimal? Idnotificacion {
                get { return idnotificacion; }
                set { this.idnotificacion = value; }
            }

            public string Numsuce {
                get { return numsuce; }
                set { this.numsuce = value; }
            }

            public double? Tasa
            {
                get { return tasa; }
                set { this.tasa = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

        public class SuceSubsanarParam {

            private decimal? idnotificacion;
            private string numsuce;
            private string texto;
            private decimal? tasa;
            private decimal? plazo;

            public SuceSubsanarParam() {
            }

            public SuceSubsanarParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public SuceSubsanarParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public decimal? Idnotificacion {
                get { return idnotificacion; }
                set { this.idnotificacion = value; }
            }

            public string Numsuce {
                get { return numsuce; }
                set { this.numsuce = value; }
            }

            public string Texto {
                get { return texto; }
                set { this.texto = value; }
            }

            public decimal? Tasa {
                get { return tasa; }
                set { this.tasa = value; }
            }

            public decimal? Plazo {
                get { return plazo; }
                set { this.plazo = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

        public class TrazaEnviarParam {

            private decimal? idnotificacion;
            private string idtrazagestor;
            private string doctipo;
            private string docnum;
            private string area;
            private string subarea;
            private string responsable;
            private DateTime? fechaingreso;
            private DateTime? fechasalida;
            private string comentario;

            public TrazaEnviarParam() {
            }

            public TrazaEnviarParam(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public TrazaEnviarParam(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

            public decimal? Idnotificacion {
                get { return idnotificacion; }
                set { this.idnotificacion = value; }
            }

            public string Idtrazagestor {
                get { return idtrazagestor; }
                set { this.idtrazagestor = value; }
            }

            public string Doctipo {
                get { return doctipo; }
                set { this.doctipo = value; }
            }

            public string Docnum {
                get { return docnum; }
                set { this.docnum = value; }
            }

            public string Area {
                get { return area; }
                set { this.area = value; }
            }

            public string Subarea {
                get { return subarea; }
                set { this.subarea = value; }
            }

            public string Responsable {
                get { return responsable; }
                set { this.responsable = value; }
            }

            public DateTime? Fechaingreso {
                get { return fechaingreso; }
                set { this.fechaingreso = value; }
            }

            public DateTime? Fechasalida {
                get { return fechasalida; }
                set { this.fechasalida = value; }
            }

            public string Comentario {
                get { return comentario; }
                set { this.comentario = value; }
            }

            public void setValuesFromMap(Dictionary<string, string> map) {
                ResourceManager.populateDtoFromMap(this, map);
            }

            public void setValuesFromMap(JSONObject json) {
                ResourceManager.populateDtoFromMap(this, json);
            }

        }

    }
}
